package site.kexing.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import site.kexing.pojo.Equipment;
import java.util.List;

@Mapper
@Repository
public interface EquipmentMapper {
    List<Equipment> selectAllEquipment();
    Equipment selectEquipmentByID(Integer id);
    int updateEquipment(Equipment equipment);
    int deleteEquipment(Integer id);
    int insertEquipment(Equipment equipment);
    List<Equipment> selectEquipmentByName(String equipment_name);
    List<Integer> selectAllEquipmentID();
}
